package com.sunnay.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sunnay.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author lyw
 * @discrption
 * @createTime 2022-04-13 1:40
 */
@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {
    /**
     * 扣除或添加积分
     * @param wxId
     * @param money
     * @return
     */
    void getUserMoney(@Param("wxId") String wxId,@Param("money") Double money);
}
